Manojajj commited on
Commit
a725ebf
·
verified ·
1 Parent(s): db67b12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -16
app.py CHANGED
@@ -53,24 +53,8 @@ def chat_with_model(user_input, hf_api_key):
53
  except Exception as e:
54
  return f"Error: {e}"
55
 
56
- # AdSense HTML Code
57
- adsense_code = """
58
- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4124087181208916"
59
- crossorigin="anonymous"></script>
60
- <ins class="adsbygoogle"
61
- style="display:block"
62
- data-ad-format="fluid"
63
- data-ad-layout-key="-gw-3+1f-3d+2z"
64
- data-ad-client="ca-pub-4124087181208916"
65
- data-ad-slot="1309752867"></ins>
66
- <script>
67
- (adsbygoogle = window.adsbygoogle || []).push({});
68
- </script>
69
- """
70
-
71
  # Create the Gradio interface
72
  with gr.Blocks() as demo:
73
- gr.HTML(adsense_code) # Add Google AdSense
74
  gr.Markdown("### Code Assistant with Qwen2.5-Coder")
75
  gr.Markdown("Ask me anything about coding! Enter your Hugging Face API key to start.")
76
 
 
53
  except Exception as e:
54
  return f"Error: {e}"
55
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  # Create the Gradio interface
57
  with gr.Blocks() as demo:
 
58
  gr.Markdown("### Code Assistant with Qwen2.5-Coder")
59
  gr.Markdown("Ask me anything about coding! Enter your Hugging Face API key to start.")
60