Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ with gr.Blocks() as ClearHistory:
|
|
63 |
|
64 |
text = gr.Interface(fn=textGPT, inputs="text", outputs="text")
|
65 |
audio = gr.Interface(fn=audioGPT, inputs=gr.Audio(source="microphone", type="filepath"), outputs="text")
|
66 |
-
demo = gr.TabbedInterface([text, audio,
|
67 |
|
68 |
if __name__ == "__main__":
|
69 |
demo.launch(enable_queue=False, auth=lambda u, p: user_db.get(u) == p,
|
|
|
63 |
|
64 |
text = gr.Interface(fn=textGPT, inputs="text", outputs="text")
|
65 |
audio = gr.Interface(fn=audioGPT, inputs=gr.Audio(source="microphone", type="filepath"), outputs="text")
|
66 |
+
demo = gr.TabbedInterface([text, audio, ClearHistory], [ "chatGPT", "audioGPT", "ClearHistory"])
|
67 |
|
68 |
if __name__ == "__main__":
|
69 |
demo.launch(enable_queue=False, auth=lambda u, p: user_db.get(u) == p,
|