Spaces:
Runtime error
Runtime error
srinivas-mushroom
commited on
Commit
•
e5abde8
1
Parent(s):
5a8cf0f
Update app.py
Browse files
app.py
CHANGED
@@ -33,6 +33,14 @@ chatgpt3_demo = gr.Interface.load(
|
|
33 |
description="Chat GPT3",
|
34 |
)
|
35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
stt_demo = gr.Interface.load(
|
37 |
"huggingface/facebook/wav2vec2-base-960h",
|
38 |
title=None,
|
@@ -42,7 +50,7 @@ stt_demo = gr.Interface.load(
|
|
42 |
|
43 |
with gr.Blocks() as demo:
|
44 |
gr.Markdown("<h2>Welcome to Mushrooom Solutions - AI ML Showcase</h2>")
|
45 |
-
gr.TabbedInterface([vision_demo, anime_demo, chatgpt3_demo, tts_demo, stt_demo], ["Image Classification", "Anime", "Chat GPT3", "Text-to-speech", "Speech-to-text"])
|
46 |
|
47 |
if __name__ == "__main__":
|
48 |
demo.launch()
|
|
|
33 |
description="Chat GPT3",
|
34 |
)
|
35 |
|
36 |
+
sentiment_demo = gr.Interface.load(
|
37 |
+
"models/LiYuan/amazon-review-sentiment-analysis",
|
38 |
+
title=None,
|
39 |
+
description="Sentiment Analysis",
|
40 |
+
)
|
41 |
+
|
42 |
+
|
43 |
+
|
44 |
stt_demo = gr.Interface.load(
|
45 |
"huggingface/facebook/wav2vec2-base-960h",
|
46 |
title=None,
|
|
|
50 |
|
51 |
with gr.Blocks() as demo:
|
52 |
gr.Markdown("<h2>Welcome to Mushrooom Solutions - AI ML Showcase</h2>")
|
53 |
+
gr.TabbedInterface([vision_demo, sentiment_demo, anime_demo, chatgpt3_demo, tts_demo, stt_demo], ["Image Classification", "Sentiment Analysis", "Anime", "Chat GPT3", "Text-to-speech", "Speech-to-text"])
|
54 |
|
55 |
if __name__ == "__main__":
|
56 |
demo.launch()
|