Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
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 |
-
|
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 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
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,
|