rbarac commited on
Commit
40f3913
·
verified ·
1 Parent(s): 234521f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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("text-classification", 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.
 
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.