temo12 commited on
Commit
eed98a1
·
1 Parent(s): 3dcfae5

temo12/Auto-Insight

Browse files
Files changed (2) hide show
  1. app.py +10 -0
  2. requirements.txt +2 -0
app.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ import gradio as gr
3
+
4
+ # Example Gradio function for sentiment analysis (adjust with your model/logic)
5
+ def sentiment_analyze(input_text):
6
+ return f"Sentiment analyzed for: {input_text}"
7
+
8
+ # Create Gradio interface
9
+ app = gr.Interface(fn=sentiment_analyze, inputs="text", outputs="text")
10
+ app.launch()
requirements.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+
2
+ gradio==3.30.0