Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ pipe = pipeline("text2text-generation", model="rbarac/open-rotor-copilot") # Or
|
|
7 |
def analyze_text_input(input_str):
|
8 |
# Input_str could be: "gyro_std=123.4, vbat_drop=0.91, ..." etc.
|
9 |
result = pipe(input_str)
|
10 |
-
out = result[0].get("
|
11 |
return out
|
12 |
|
13 |
iface = gr.Interface(
|
|
|
7 |
def analyze_text_input(input_str):
|
8 |
# Input_str could be: "gyro_std=123.4, vbat_drop=0.91, ..." etc.
|
9 |
result = pipe(input_str)
|
10 |
+
out = result[0].get("generated_text")
|
11 |
return out
|
12 |
|
13 |
iface = gr.Interface(
|