Sephfox commited on
Commit
116c2ba
·
verified ·
1 Parent(s): e78a4ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -267,7 +267,7 @@ def get_emotional_response(context):
267
  return f"Predicted Emotion: {predicted_emotion}"
268
 
269
  # Gradio interface
270
- f process_input(input_text):
271
  emotional_response = get_emotional_response(input_text)
272
  sentiment_response = get_sentiment(input_text)
273
  generated_text = generate_text(input_text)
@@ -288,3 +288,4 @@ iface = gr.Interface(
288
  )
289
 
290
  iface.launch()
 
 
267
  return f"Predicted Emotion: {predicted_emotion}"
268
 
269
  # Gradio interface
270
+ def process_input(input_text):
271
  emotional_response = get_emotional_response(input_text)
272
  sentiment_response = get_sentiment(input_text)
273
  generated_text = generate_text(input_text)
 
288
  )
289
 
290
  iface.launch()
291
+