RiteshAkhade commited on
Commit
c4919fc
Β·
verified Β·
1 Parent(s): 6d5ef45

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -14
app.py CHANGED
@@ -1,16 +1,3 @@
1
-
2
- import gradio_client.utils as _gcu
3
-
4
- _original_get_type = _gcu.get_type
5
- def _get_type_patched(schema):
6
-
7
- if isinstance(schema, bool):
8
- return "Any"
9
- return _original_get_type(schema)
10
-
11
- _gcu.get_type = _get_type_patched
12
- # ─────────────────────────────────────────────────────────────────────────────
13
-
14
  import whisper
15
  import gradio as gr
16
  import torch
@@ -169,4 +156,4 @@ with gr.Blocks(css="textarea, .gr-box { font-size: 18px !important; }") as demo:
169
  outputs=[question_display_2, audio_input_2, transcribed_text_2,
170
  context_analysis_result, confidence_analysis_result])
171
 
172
- demo.launch(share=True)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  import whisper
2
  import gradio as gr
3
  import torch
 
156
  outputs=[question_display_2, audio_input_2, transcribed_text_2,
157
  context_analysis_result, confidence_analysis_result])
158
 
159
+ demo.launch(share=True, show_api = False)