Update app.py
Browse files
app.py
CHANGED
@@ -31,10 +31,10 @@ system_prompt = '''
|
|
31 |
|
32 |
DESCRIPTION = '''
|
33 |
<div>
|
34 |
-
<h1 style="text-align: center;">
|
35 |
<p>A podcast talking about the link's content you provided.</p>
|
36 |
<p>π Paste a website link with http/https.</p>
|
37 |
-
<p>π¦
|
38 |
</div>
|
39 |
'''
|
40 |
|
@@ -184,7 +184,6 @@ async def main(link):
|
|
184 |
answer = Client.text_generation(
|
185 |
prompt=formatted_prompt,
|
186 |
max_new_tokens=4096,
|
187 |
-
details=True,
|
188 |
temperature=0.7,
|
189 |
return_full_text=False)
|
190 |
print(answer)
|
|
|
31 |
|
32 |
DESCRIPTION = '''
|
33 |
<div>
|
34 |
+
<h1 style="text-align: center;">Link to Podcast</h1>
|
35 |
<p>A podcast talking about the link's content you provided.</p>
|
36 |
<p>π Paste a website link with http/https.</p>
|
37 |
+
<p>π¦ Now using inference API. Modify codes to use transformer.</p>
|
38 |
</div>
|
39 |
'''
|
40 |
|
|
|
184 |
answer = Client.text_generation(
|
185 |
prompt=formatted_prompt,
|
186 |
max_new_tokens=4096,
|
|
|
187 |
temperature=0.7,
|
188 |
return_full_text=False)
|
189 |
print(answer)
|