Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Load your model from Hugging Face Hub
|
5 |
-
pipe = pipeline("
|
6 |
|
7 |
def analyze_text_input(input_str):
|
8 |
# Input_str could be: "gyro_std=123.4, vbat_drop=0.91, ..." etc.
|
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Load your model from Hugging Face Hub
|
5 |
+
pipe = pipeline("text2text-generation", model="rbarac/open-rotor-copilot") # Or your exact model/task
|
6 |
|
7 |
def analyze_text_input(input_str):
|
8 |
# Input_str could be: "gyro_std=123.4, vbat_drop=0.91, ..." etc.
|