MrAli813 commited on
Commit
308ddec
1 Parent(s): 859954e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -12
app.py CHANGED
@@ -6,7 +6,7 @@ import gradio as gr
6
  import pytube as pt
7
  from transformers import pipeline
8
  from huggingface_hub import model_info
9
- from gradio import iFrame
10
  openai.api_key = os.getenv('OPEN_AI_KEY')
11
  hf_t_key = ('HF_TOKEN_KEY')
12
 
@@ -107,17 +107,13 @@ A4 = gr.load(
107
  examples=["A gigantic celtic leprechaun wandering the streets of downtown Atlanta","A child eating pizza in a Brazilian favela"])
108
 
109
  A5 = gr.Interface(
110
- iFrame(
111
- label=" ",
112
- value=("""
113
- <iframe
114
- src="https://peachtechai-colleague-scribe.hf.space"
115
- frameborder="0"
116
- width="1850"
117
- height="1450"
118
- ></iframe>"""),
119
- show_label=True)
120
- )
121
 
122
  mf_transcribe = gr.Interface(
123
  fn=transcribe,
 
6
  import pytube as pt
7
  from transformers import pipeline
8
  from huggingface_hub import model_info
9
+
10
  openai.api_key = os.getenv('OPEN_AI_KEY')
11
  hf_t_key = ('HF_TOKEN_KEY')
12
 
 
107
  examples=["A gigantic celtic leprechaun wandering the streets of downtown Atlanta","A child eating pizza in a Brazilian favela"])
108
 
109
  A5 = gr.Interface(
110
+ <iframe
111
+ src="https://peachtechai-colleague-scribe.hf.space"
112
+ frameborder="0"
113
+ width="850"
114
+ height="450"
115
+ ></iframe>
116
+ )
 
 
 
 
117
 
118
  mf_transcribe = gr.Interface(
119
  fn=transcribe,